package com.derbysoft.lowcostadapter.commons.utils;

import org.apache.commons.lang.StringUtils;

import java.util.regex.Pattern;

/**
 * Created by: jason
 * Date: 2012-09-28
 */
public abstract class CheckUtils {
    public static boolean checkNumber(String input) {
        return StringUtils.isNotBlank(input) && Pattern.compile("[0-9]+").matcher(input).matches();
    }
}
